<?php
define('IN_TG','login');
define('IN_JS','login');
define('SCRIPT','login');
require('includes/common.inc.php');
require('header.php');
?>
<div id="login">
	<h2>登录</h2>
	<form method="post" name="login" action="dologin.php">
		<dl>
			<dt><input type="hidden" value="<?php echo isset($_GET['back_url'])?$_GET['back_url']:'index.php';?>" name="back_url"></dt>
			<dd>用 户 名：<input type="text" name="username" class="text" /></dd>
			<dd>密　　码：<input type="password" name="password" class="text" /></dd>
			<dd>保　　留：<input type="radio" name="time" value="0" checked="checked" /> 不保留 <input type="radio" name="time" value="1" /> 一天 <input type="radio" name="time" value="2" /> 一周 <input type="radio" name="time" value="3" /> 一月</dd>
			 
			<dd>验 证 码：<input type="text" name="code" class="text code"  /> <img src="code.php" id="code"  /></dd>
			 
			<dd><input type="submit" value="登录" class="button" /> <input type="button" value="注册" id="location" class="button location" onclick="window.location.href='register.php'" /></dd>
		</dl>
	</form>
</div>
<?php
require('includes/footer.inc.php');
?>

